#include<stdio.h>
#include<unistd.h>

int test=0;

int main()
{
  int pid = fork();
  

  if(pid==0)
  {
    //child
    test=100;
    printf("child  :%d\n",test);
    printf("child& :%p\n",&test);
  }
  else
  {
    test=200;
    printf("parent  :%d\n",test);
    printf("parent& :%p\n",&test);
  }
  
  return 0;
}
